package com.bah.tract.client.ui.menu;

import java.awt.MenuItem;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class ExitMenuItem extends MenuItem {

	private static final class ExitActionListener implements ActionListener {
		@Override
		public void actionPerformed(final ActionEvent e) {
			System.exit(0);
		}
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ExitMenuItem() {
		super("Exit");
		addActionListener(new ExitActionListener());
	}
}
